<div class="modal fade roleassignment" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" id="newlyAdded">
	<div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title pull-left">机构管理 — 新增</h4>
                <img class="pull-right" width="30px" data-dismiss="modal" aria-hidden="true"  src="../images/model/close999.png">
            </div>
            <div class="modal-body text-center">
				
            	<div class="bg-model overflow-hide">

					<p class="text-left">父机构为：{{ institutionName }}</p>

            		<form name="userpersonalAdd_form" novalidate class="form-public">
                		<div class="col-xs-12 col-sm-6">
	                        <div class="form-group">
		                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">机构名称：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <input type="text"
		                                	   name="institutionName"
		                                	   ng-minlength="2" 
		                                	   ng-maxlength="32"
		                                	   class="form-control"
		                                	   autocomplete="off" 
		                                	   ng-model="newlyAdded_institutionName"
		                                	   required 
		                                	   />
		                                <label class="red required">*</label>
		                                 <!-- <div class="error" ng-show="userpersonalAdd_form.userName.$dirty && userpersonalAdd_form.userName.$invalid">
										    <small class="error" ng-show="userpersonalAdd_form.userName.$error.required">请输入用户名</small>
										    <small class="error" ng-show="userpersonalAdd_form.userName.$error.minlength ">用户名长度在1-32之间</small>
										    <small class="error" ng-show="userpersonalAdd_form.userName.$error.maxlength">用户名长度在1-32之间</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                        <div class="form-group " >
		                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">显示名称：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <input type="text"
		                                	   name="institutionDisplayName"
		                                	   ng-minlength="2" 
		                                	   ng-maxlength="32"
		                                	   class="form-control"
		                                	   autocomplete="off" 
		                                	   ng-model="newlyAdded_institutionDisplayName"
		                                	   required 
		                                	   />
		                                <label class="red required">*</label>
		                                 <!-- <div class="error" ng-show="userpersonalAdd_form.displayName.$dirty && userpersonalAdd_form.displayName.$invalid">
										    <small class="error" ng-show="userpersonalAdd_form.displayName.$error.required">请输入昵称</small>
										    <small class="error" ng-show="userpersonalAdd_form.displayName.$error.minlength ">昵称长度在1-32之间</small>
										    <small class="error" ng-show="userpersonalAdd_form.displayName.$error.maxlength">昵称长度在1-32之间</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                        <div class="form-group ">
		                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">性质：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <input type="text"
		                                	   name="nature"
		                                	   ng-minlength="2" 
		                                	   ng-maxlength="32"
		                                	   class="form-control"
		                                	   autocomplete="off" 
		                                	   ng-model="newlyAdded_nature"
		                                	   required 
		                                	   />
		                                <label class="red required">*</label>
		                                 <!-- <div class="error" ng-show="userpersonalAdd_form.password.$dirty && userpersonalAdd_form.password.$invalid">
										    <small class="error" ng-show="userpersonalAdd_form.password.$error.required">请输入密码</small>
										    <small class="error" ng-show="userpersonalAdd_form.password.$error.minlength ">密码长度在1-32之间</small>
										    <small class="error" ng-show="userpersonalAdd_form.password.$error.maxlength">密码长度在1-32之间</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                         <div class="form-group ">
		                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">联系人：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <input type="text"
		                                	   name="contactName"
		                                	   ng-minlength="2" 
		                                	   ng-maxlength="32"
		                                	   class="form-control"
		                                	   autocomplete="off" 
		                                	   ng-model="newlyAdded_contactName"
		                                	   required 
		                                	   />
		                                <label class="red required">*</label>
		                                 <!-- <div class="error" ng-show="userpersonalAdd_form.password.$dirty && userpersonalAdd_form.password.$invalid">
										    <small class="error" ng-show="userpersonalAdd_form.password.$error.required">请输入密码</small>
										    <small class="error" ng-show="user_password2 !=  user_password">密码长度在1-32之间</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                        <div class="form-group ">
		                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">行业：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <input type="text"
		                                	   name="industry"
		                                	   ng-minlength="2" 
		                                	   ng-maxlength="32"
		                                	   class="form-control"
		                                	   autocomplete="off" 
		                                	   ng-model="newlyAdded_industry"
		                                	   required 
		                                	   />
		                                <label class="red required">*</label>
		                                 <!-- <div class="error" ng-show="userpersonalAdd_form.password.$dirty && userpersonalAdd_form.password.$invalid">
										    <small class="error" ng-show="userpersonalAdd_form.password.$error.required">请输入密码</small>
										    <small class="error" ng-show="user_password2 !=  user_password">密码长度在1-32之间</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                        
	                        <div class="form-group ">
		                            <label class="col-xs-12 col-sm-3 control-label text-right" >机构类型：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <select name="institutionType"  
		                                		class="pull-left" 
		                                		ng-model="newlyAdded_institutionType" 
		                                		required
		                                		>
		                                	<option  value="" >请选择</option>
											<option  value="0">禁用</option>
											<option  value="1">启用</option>
										</select>
										<!-- <div class="error" ng-show="userpersonalAdd_form.user_status.$dirty && userpersonalAdd_form.user_status.$invalid">
										    	<small class="error" ng-show="userpersonalAdd_form.user_status.$error.required">请选择用户状态</small>
			 							</div> -->
		                            </div>       
	                        </div>
	                        <div class="form-group ">
		                            <label class="col-xs-12 col-sm-3 control-label text-right" >机构状态：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <select name="enabled"  
		                                		class="pull-left" 
		                                		ng-model="newlyAdded_enabled" 
		                                		required
		                                		>
		                                	<option  value="" >请选择</option>
											<option  value="0">未激活</option>
											<option  value="1">激活</option>
										</select>
										<!-- <div class="error" ng-show="userpersonalAdd_form.user_isActivate.$dirty && userpersonalAdd_form.user_isActivate.$invalid">
										   	<small class="error" ng-show="userpersonalAdd_form.user_isActivate.$error.required">请选择邮箱激活状态</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                        
	                    </div> 

	                    <div class="col-xs-12 col-sm-6">
	                        <div class="form-group ">
		                            <label class="col-xs-12 col-sm-3 control-label text-right">到期日期：</label>
		                            <div class="col-xs-12 col-sm-9">
		                                <input type="text"
		                                	   name="validDate"
		                                	   ng-minlength="2" 
		                                	   ng-maxlength="32"
		                                	   class="form-control"
		                                	   autocomplete="off" 
		                                	   ng-model="newlyAdded_validDate"
		                                	   required 
		                                	   />
		                                <label class="red required">*</label>
		                                 <!-- <div class="error" ng-show="userpersonalAdd_form.real_name.$dirty && userpersonalAdd_form.real_name.$invalid">
										    <small class="error" ng-show="userpersonalAdd_form.real_name.$error.required">请输入真实姓名</small>
										    <small class="error" ng-show="userpersonalAdd_form.real_name.$error.minlength ">真实姓名长度在1-256之间</small>
										    <small class="error" ng-show="userpersonalAdd_form.real_name.$error.maxlength">真实姓名长度在1-256之间</small>
			 							 </div> -->
		                            </div>       
	                        </div>
	                        <div class="form-group ">
	                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">电话：</label>
	                            <div class="col-xs-12 col-sm-9">
	                                <input type="text" 
	                                	   name="phone" 
	                                	   class="form-control" 
	                                	   autocomplete="off" 
	                                	   ng-model="newlyAdded_phone"
	                                	   />
	                            </div>       
	                        </div>
	                        <div class="form-group ">
	                            <label class="col-xs-12 col-sm-3 control-label text-right" for="dhName">邮编：</label>
	                            <div class="col-xs-12 col-sm-9">
	                                <input type="text" 
	                                	   name="postcode"
	                                	   class="form-control" 
	                                	   autocomplete="off"
	                                	   ng-model="newlyAdded_postcode"
	                                	   />
	                            </div>       
	                        </div>	                        
	                         <div class="form-group">
	                            <label class="col-xs-12 col-sm-3 control-label text-right">省份：</label>
	                            <div class="col-xs-12 col-sm-9">
	                                <input type="text" 
	                                	   name="province" 
	                                	   class="form-control"
	                                	   autocomplete="off" 
	                                	   ng-model="newlyAdded_province"
	                                	   />
	                            </div>       
	                        </div>
	                        <div class="form-group">
	                            <label class="col-xs-12 col-sm-3 control-label text-right">城市：</label>
	                            <div class="col-xs-12 col-sm-9">
	                                <input type="text" 
	                                	   name="city"
	                                	   class="form-control" 
	                                	   autocomplete="off" 
	                                	   ng-model="newlyAdded_city"
	                                	   />
	                            </div>       
	                        </div>
	                        <div class="form-group">
	                            <label class="col-xs-12 col-sm-3 control-label text-right">地址：</label>
	                            <div class="col-xs-12 col-sm-9">
	                                <input type="text" 
	                                	   name="address" 
	                                	   class="form-control"
	                                	   autocomplete="off" 
	                                	   ng-model="newlyAdded_address"
	                                	   />
	                            </div>       
	                        </div>
                        </div>
					
						<div class="col-xs-12 col-sm-12">
							<div class="form-group">
	                            <label class="col-xs-12 col-sm-2 control-label pull-left describe">描述：</label>
	                            <div class="pull-left describe">
	                                <textarea rows="5" 
                                              type="text" 
                                              name="description" 
                                              class="form-control" 
                                              ng-model="newlyAdded_description"
                                              />
                            		</textarea>
	                            </div>       
	                        </div>
						</div>

						<div class="col-sm-12">
						    <div class="popup-footer modal-footer">
						    	<button type="button"
						    			class="btn btn-primary" 
						    			>取消
				    			</button>
						        <!-- <button type="button" 
						        		class="btn btn-primary" 
						        		ng-disabled="userpersonalAdd_form.$invalid" 
						        		ng-click="submitNewlyAdded()" 
						        		disabled="disabled"
						        		>确定新增
				        		</button> -->
				        		<button type="button" 
						        		class="btn btn-primary" 
						        		ng-click="submitNewlyAdded()" 
						        		>确定新增
				        		</button>
					        </div>
						</div>
                   
  					</form>
                 	
                 </div>
            </div>
            
        </div>
    </div>
</div>